@import "loaders.css";

.dmui-dialog{
    box-sizing: border-box;
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    padding: 8%;
    top: 0;
    left: 0;
    background: rgba(0,0,0, .3);
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    -webkit-transition: transform 0.3s ease-in-out;
    color: #333;
}
.dmui-dialog.show{
    display: block;
}
.dmui-dialog.hide{
    display: none !important;
}
.dmui-dialog-box{
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100px;
    background: #fff;
    /*border-radius: 16px;*/
    margin: 10% auto 0;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
    position: relative;
    box-sizing: border-box;
    /*border: 5px solid rgba(0,0,0,.5);*/
    padding-bottom: 30px;
}
.dmui-dialog-hasHeader{
    padding-top: 3rem;
}
.dmui-dialog-hasFooter{
    padding-bottom: 3rem;
}
.dmui-dialog-header,
.dmui-dialog-footer{
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0rem 1rem;
}
.dmui-dialog-header h4{
    font-size: 16px;
    color: #666;
}
.dmui-dialog-header{
    background: #fff4f4;
}
.dmui-dialog-header{top: 0;}
.dmui-dialog-footer{bottom: 0;}
.dmui-dialog-body{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.dmui-dialog .top-right-close{
    right: 10px;
    top: 10px;
    width:20px;
    height: 20px;
    line-height: 0.8;
    display: block;
    background: #000;
    padding: 5px;
    border-radius: 100%;
    color: #fff;
}

/*alert*/
#J_dmui-dialog-alert{
    padding: 0;
    height: auto;
    transform : translate3d(0px, -100%, 0px);
    -webkit-transform :translate3d(0px, -100%, 0px);
    /*transition: all 0.3s;
    -webkit-transition: all 0.3s;*/
}
#J_dmui-dialog-alert .dmui-dialog-box{
    background: transparent;
    margin: auto;
    border-radius: 0;
    min-height: inherit;
}
#J_dmui-dialog-alert .dmui-dialog-body{
    margin: auto;
    display: table;
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
    border-radius: 5px;
    overflow: hidden;
    min-height: 60px;
    max-width: 360px;
}
.dmui-dialog-alert{
    padding: 1rem ;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-all;
    /*min-height: 100px;*/
    width: 100%;
    height: 100%;
    background: #fff4f4;
    color: #666;
    display: table-cell;
    vertical-align: middle;
    min-height: 100px;
}

/*confirm*/
.dmui-dialog-confirm{
    padding: 43px 1rem 50px;
    font-size: 14px;
}
.confirm-title{
    /*font-weight: 600;*/
    margin: 0;
    padding: 1rem 0;
}
.confirm-footer{
    overflow: hidden;
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: -0.5rem;
    padding-bottom: 50px;
}
.confirm-footer>span{
    /*width: 50%;*/
    /*float: left;*/
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    padding: 0;
    width: 104px;
    margin: 0 13px;
    height: 35px;
    line-height: 35px;
    /*border-top: 1px solid #ddd;*/
    font-weight: 600;
    cursor: pointer;
    background: #ff5353;
    color: #fff;
}
.confirm-footer>span:first-child{
    /*border-right: 1px solid #ddd;*/
    font-weight: 400;
    background: #CCCCCC;
    color: #666666;
}

/*loading*/
#J_dmui-dialog-loading{
    background: no-repeat center center;
    background-color: rgba(0,0,0, .15);
    /*background-image: url("../images/loading.gif");*/
    display: table;
}
#J_dmui-dialog-loading .dmui-dialog-box{
    background: transparent;
    box-shadow: none;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
#J_dmui-dialog-loading .dmui-dialog-body{
    display: inline-block;
    height: auto;
    width: auto;
}
.loader-inner > div{
    background: #ff5353 !important;
}

/*进度*/
#J_progress .dmui-dialog-box{
    background: transparent;
    box-shadow: none;
}
#J_progress .dmui-dialog-body{
    padding: 30px 0;
}
.dialog-progress-bg{
    width: 100%;
    background: #fff;
    overflow: hidden;
    border-radius: 10px;
    height: 10px;
    box-shadow: 0px 0px 15px rgba(0,128,0,.3);
}
.dialog-progress-val{
    background: green;
    left: 0;
    top: 0;
    height: 100%;
    box-shadow: 5px 0px 15px rgba(0,128,0,.3);
    border-radius: 10px;
}
